import request from '@/utils/request'

// 上传图片
export function upLoadImage(data) {
  return request({
    url: '/common/upload/' + data.buName,
    method: 'post',
    data: data
  })
}

// 生成ID
export function getId(data) {
  return request({
    url: '/common/getId',
    method: 'get',
    data
  })
}
